package com.qys.livesMall.shop.modal.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 店铺流量包订单表
 *
 * @author makejava
 * @since 2023-06-20 15:44:26
 */
@Data
@TableName("h2_shop_data_package_order")
public class H2DataPackageShop implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    @TableId(value = "order_id")
    private Long orderId;

    /**
     * 流量包id
     */
    private Long packageId;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 订单金额
     */
    private BigDecimal amount;

    /**
     * 下单时间
     */
    private LocalDateTime orderTime;

    /**
     * 支付时间
     */
    private LocalDateTime payTime;

    /**
     * 订单状态（0未完成，1已完成）
     */
    private Integer orderStatus;

}

